#include<iostream>

using namespace std;
char c; int n;
const int N = 110;
char a[N][N];
int main()
{
    cin >> c >> n;
    for (int i = 1; i <= n; i++)
    {
        for (int j = 1; j <= n; j++)
        {
            cin >> a[i][j];
        }
    }
    return 0;
}